import { PageOutEffectType, PageCloseEffectType } from './PageEffect';

export enum PageViewTypeId {
  BaseUIView = 'BaseUIView',
  AlertView = 'AlertView',
  CardHeapUI = 'CardHeapUI',
  ChooseCardUI = 'ChooseCardUI',
  ChooseItemUI = 'ChooseItemUI',
  LoginTestBattle = 'LoginTestBattle',
  HeroChooseUI = 'HeroChooseUI',
  testHeroEditUI = 'testHeroEditUI',
  CardBookUI = 'CardBookUI',
}

export enum PageViewPath {
  AlertView = 'prefab/popUp',
  CardHeapUI = 'prefab/view/battle/cardHeapUI',
  ChooseCardUI = 'prefab/view/battle/chooseCardUI',
  ChooseItemUI = 'prefab/view/battle/chooseItemUI',
  LoginTestBattle = 'prefab/login/testBattle',
  HeroChooseUI = 'prefab/login/heroChooseUI',
  testHeroEditUI = 'prefab/login/testHeroEditUI',
  CardBookUI = 'prefab/view/card/CardBookUI',
}

/**
 * 打开界面特效注册
 */
export enum PageOutEffect {
  AlertView = PageOutEffectType.UNFOLD_UP,
  ChooseCardUI = PageOutEffectType.CENTER_ZOOM_OUT,
  ChooseItemUI = PageOutEffectType.CENTER_ZOOM_OUT,
  LoginTestBattle = PageOutEffectType.CENTER_ZOOM_OUT,
  HeroChooseUI = PageOutEffectType.CENTER_ZOOM_OUT,
  testHeroEditUI = PageOutEffectType.CENTER_ZOOM_OUT,
  CardBookUI = PageOutEffectType.CENTER_ZOOM_OUT,
}

export enum PageCloseEffect {
  AlertView = PageCloseEffectType.CENTER_ZOOM_IN,
}
